import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { createPinia } from "pinia"; // 引入创建pinia的方法
import router from './router' //引入路由

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css';


const app = createApp(App);
const pinia = createPinia() // 创建pinia
app.use(pinia) // 使用pinia
app.use(ElementPlus);
app.use(router as any)
app.mount('#app');
